package com.xingshentech.ugv.operate.module.bean2;

import java.io.Serializable;

public class CarListBean implements Serializable {

    /**
     * id : 1
     * siteId : 4294450615116890188
     * vehicleId : 4319391011576217601
     * vehicle : {"batch":"N01","identifyingCode":"00-00-04-6B-3D-8F-F1-3B","modelId":"4319044652562120704","online":false,"productionDate":"2020-07-06 00:00:00","vehicleName":"超影2000C","vehicleNo":"N01","vehicleStatus":"0","verificationCode":"9A-87-16-24-D2-73-25-03"}
     */

    private String id;
    private String siteId;
    private String vehicleId;
    private VehicleBean vehicle;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public VehicleBean getVehicle() {
        return vehicle;
    }

    public void setVehicle(VehicleBean vehicle) {
        this.vehicle = vehicle;
    }

    public static class VehicleBean implements Serializable {
        /**
         * batch : N01
         * identifyingCode : 00-00-04-6B-3D-8F-F1-3B
         * modelId : 4319044652562120704
         * online : false
         * productionDate : 2020-07-06 00:00:00
         * vehicleName : 超影2000C
         * vehicleNo : N01
         * vehicleStatus : 0
         * verificationCode : 9A-87-16-24-D2-73-25-03
         */

        private String batch;
        private String identifyingCode;
        private String modelId;
        private boolean online;
        private String productionDate;
        private String vehicleName;
        private String vehicleNo;
        private String vehicleStatus;
        private String verificationCode;
        //设备状态：1-开机启动中；2-开机状态；3-关机中;4-关机状态;
        // 5-关机准备充电;6-关机充电状态;7-开机准备充电;8-开机充电状态;9-休眠开始中;10-休眠状态;11/12-开始启动休眠充电;13-休眠充电状态
        private int deviceStatus;

        public String getBatch() {
            return batch;
        }

        public void setBatch(String batch) {
            this.batch = batch;
        }

        public String getIdentifyingCode() {
            return identifyingCode;
        }

        public void setIdentifyingCode(String identifyingCode) {
            this.identifyingCode = identifyingCode;
        }

        public String getModelId() {
            return modelId;
        }

        public void setModelId(String modelId) {
            this.modelId = modelId;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public String getProductionDate() {
            return productionDate;
        }

        public void setProductionDate(String productionDate) {
            this.productionDate = productionDate;
        }

        public String getVehicleName() {
            return vehicleName + "";
        }

        public void setVehicleName(String vehicleName) {
            this.vehicleName = vehicleName;
        }

        public String getVehicleNo() {
            return vehicleNo;
        }

        public void setVehicleNo(String vehicleNo) {
            this.vehicleNo = vehicleNo;
        }

        public String getVehicleStatus() {
            return vehicleStatus;
        }

        public void setVehicleStatus(String vehicleStatus) {
            this.vehicleStatus = vehicleStatus;
        }

        public String getVerificationCode() {
            return verificationCode;
        }

        public void setVerificationCode(String verificationCode) {
            this.verificationCode = verificationCode;
        }

        public int getDeviceStatus() {
            return deviceStatus;
        }

        public void setDeviceStatus(int deviceStatus) {
            this.deviceStatus = deviceStatus;
        }
    }

}

